import request from "../utils/axios.js";

export default {
    login(params){
        return request.post('/api/user/login',params);
    },
    register(params){
        return request.post('/api/user/register',params);
    },
    verifyToken(params){
        return request.post('/api/user/verifyToken',params)
    },
    //用户姓名模糊查询用户
    searchUserByName(params) {
        // 修改此处
        return request.get('/api/user/getUsersByLikeName', { params });
    },


}
